<!-- 状态按钮 -->
<template>
  <div>
    <el-switch
      v-model="status"
      :active-text="$t('common.form.start')"
      :active-value="Number(1)"
      :inactive-text="$t('common.form.stop')"
      :inactive-value="Number(0)"
      active-color="#13ce66"
      inactive-color="#ff4949"
      inline-prompt
      onclick=""
    />
  </div>
</template>
<script setup lang="ts">
const status = defineModel<boolean>('status');
</script>
